var boxArr = document.getElementsByClassName("other-box-arr");
var linkArr = document.querySelectorAll("#position_link>a")
var positionDiv = document.getElementById("position");
for(var i = 0; i < linkArr.length; i++){
	linkArr[i].ind = i;
	linkArr[i].onclick = function(){
		positionDiv.style.display = "none";
		for(var i = 0; i < boxArr.length; i++){
			boxArr[i].style.display = "none";
		}
		boxArr[this.ind].style.display = "block";
	}
	
	
}

console.log(linkArr);
console.log(boxArr);
